package com.tanhua.sso.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
//@TableName("tb_user")
public class User extends BasePojo {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String mobile; //手机号

    @JsonIgnore   // JSON转换的时候忽略不转换   User对象
    private String password; //密码，json序列化时忽略


}